<?xml version='1.0' encoding='UTF-8' ?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:panelGrid columns="3">
            Enter a number :
            <h:inputText id="number" value="#{dummy.number}" size="20" required="true" label="Number">
                <f:convertNumber/>
            </h:inputText>

            <h:message for="number" style="color:red"/>
        </h:panelGrid>

        <h:commandButton value="submit" action="result"/>
    </h:body>
</html>

